<?php

class GaAPI_Objects_Bid {

    public $amount;

    public function  __construct() {
        GaAPI_Autoloader::instance()->load('GaAPI_Objects_Amount');
        $this->amount = new GaAPI_Objects_Amount();
    }

    public function setAmount($microAmout = null, $currencyCode = null) {
        $this->amount->microAmount = $microAmout;
        $this->amount->currencyCode = $currencyCode;
    }

    public function  __toString() {
        $xml = '';
        $xml .= '<amount>' . $this->amount . '</amount>';
        return $xml;
    }

}